FROM golang:1.20.2-bullseye

RUN mkdir -p /app
WORKDIR /app

RUN go install github.com/Mrs4s/go-cqhttp@latest

CMD ["go-cqhttp"]
